//= require_self
//= require_tree .

@import './mixins'

html, body {
  padding: 0
  margin: 0
}

body {
  padding: 40px 0 0 0

  background: #F6F6F6
  font-family: "HelveticaNeue", Helvetica, Arial, sans-serif;
  font-size: 14px;
  color: #333333;
}

h1, h2 {
  text-rendering: optimizelegibility;
}

a {
  color: #0088cc;
  text-decoration: none;
  outline: none

  &:hover {
    color: #005580;
    text-decoration: underline;
  }
}

menu {
  background: #212121
  display: block
  overflow: hidden
  height: 40px
  border-bottom: 1px solid #505050
  position: fixed
  margin: 0
  padding: 0 10px
  top: 0
  left: 0
  right: 0
  z-index: 1000

  ul {
    margin: 0
    padding: 0
    list-style: none
  }

  li {
    float: left
  }

  a {
    color: #999
    text-decoration: none
    font-size: 13px
    line-height: 40px
    padding: 0 16px
    display: block
    transition: color 0.5s ease

    &:hover {
      color: #FFF
      text-decoration: none
    }

    &.selected {
      color: #fff
      background: #000
    }
  }

  h1 {
    float: right
    margin: 0
    line-height: 14px
    padding: 0 16px

    a {
      font-size: 22px
      color: #000
      text-shadow: 0 1px 0 rgba(255,255,255,.1)
      text-decoration: none
      font-weight: 500
    }
  }
}

section.header header {
  background-color: #3d3d45;
  background: linear-gradient(#3D3D45, #29292F)
  overflow: hidden
  padding: 40px 30px
  border-bottom: 1px solid #e6e6e6
  box-shadow: 0 1px 3px rgba(0,0,0,0.1)
  text-shadow: 0 1px 3px rgba(0,0,0,.4), 0 0 30px rgba(0,0,0,.075);

  h1 {
    color: #FFF
    overflow: hidden
    font-size: 60px
    margin: 0 0 10px 0
  }

  h2 {
    font-weight: 300
    font-size: 27px
    line-height: 30px
    margin: 0
    color: #c5c5c5;
  }
}

.container {
  overflow: hidden
  position: relative
  margin: 30px
  padding: 39px 19px 14px
  border: 1px solid #e5e5e5
  border-radius: 4px
  background: #FFF
  box-shadow: 0 1px 4px rgba(0,0,0,.065)

  h3 {
    position: absolute
    top: -1px
    left: -1px
    padding: 3px 7px
    font-size: 12px
    font-weight: bold
    background-color: #f5f5f5
    border: 1px solid #e5e5e5
    border-radius: 4px 0 4px 0
    line-height: 20px
    color: #9da0a4
    margin: 0
    user-select: none
    -webkit-font-smoothing: antialiased;
  }
}

table.table {
  width: 100%
  max-width: 100%
  background-color: transparent
  border-collapse: collapse
  border-spacing: 0
  line-height: 20px

  thead th {
    vertical-align: bottom
    font-weight: bold
    border-top: none
  }

  th, td {
    padding: 8px
    line-height: 20px
    text-align: left
    vertical-align: top
    border-top: 1px solid #dddddd;
  }
}

input[type=text],
input[type=date] {
  -webkit-font-smoothing: subpixel-antialiased;
  font-family: 'Helvetica Neue', Helvetica, Arial Geneva, sans-serif;
  box-shadow: inset 0 1px 2px rgba(130,137,150,0.23), 0 1px 0 rgba(255,255,255,0.85);
  border: 1px solid #b4becd;
  border-top-color: #b0baca;
  border-bottom-color: #d3d9e2;
  padding: 3px 5px
  border-radius: 3px
  box-sizing: border-box

  &:focus {
    border-color: #70a7e4;
    outline: none;
    box-shadow: inset 0 1px 2px rgba(70,123,181,0.35), 0 0 4px #5695db;
  }
}

select {
  &:focus {
    outline: none
  }
}

.nav {
  width: 270px
  margin: 30px 0 0 30px
  height: 100%
  overflow: hidden
  box-sizing: border-box

  article {
    margin: 0 0 30px 0
  }

  p {
    margin: 0 0 5px 0

    &:last-child {
      margin-bottom: 0
    }
  }

  ul {
    padding: 0
    margin: 0
    list-style: none
  }
}